const mongoose = require('./db')
const schema = new mongoose.Schema({
  content: {
    type: String,
    required: true,
  },
  //更新日期
  date: {
    type: mongoose.SchemaTypes.Date,
    default: Date.now
  }
})






let Key = mongoose.model('Key', schema)
module.exports = Key